There is a modal window inserted into it.
The frame displays a card. When saving a card you need:
1) Save the card
2) Close the modal window
window took from here
example 2.
card closure implemented in the card
<a id=\"button\" href='?$_SESSION[table]#showimagelink' target=\"_parent\">x</a> and separately there is a sumbit button which saves the card.
question how to tie all this rubbish on 1 button