Use sender.tab instead of a tab in the current window
Fix a bug to expect integer for the parameters
Save the previous position of the popup window
Change the absolute position to relative
Force to call Form.close() before window.close(), because onunload won't be called on window.close().
Merge pull request #185 from YungSang/topic

Use sender.tab instead of a tab in the current window